package com.bestcem.xm.user.service.third;

import com.bestcem.xm.common.core.domain.web.ServiceResult;

/**
 * oa相关服务
 *
 * @author qiongyu.cui <qiongyu.cui@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/2 10:33
 */
public interface OaService {

    /**
     * 获取token
     *
     * @return com.bestcem.xm.util.ServiceResult<java.lang.String>
     * @author cuiqiongyu <qiongyu.cui@idiaoyan.cn>
     * @date 2022/03/02 12:01
     */
    ServiceResult<String> getToken();

    /**
     * 检查手机号是否是内部用户
     *
     * @param mobile 手机号
     * @return com.bestcem.xm.util.ServiceResult<java.lang.Boolean>
     * @author cuiqiongyu <qiongyu.cui@idiaoyan.cn>
     * @date 2022/06/16 17:36
     */
    ServiceResult<Boolean> checkMobile(String mobile);
}
